package com.colin.aiyi.entity;

import java.util.List;

/**
 * Created by hl on 2017/6/11.
 */

public class Chudao extends BaseRequest implements Cloneable{


    /**
     * updatedTime : 1495702989000
     * urls : [{"updatedTime":1495700308000,"deleted":false,"audioId":1,"createdTime":1495700305000,"id":1,"url":"1"},{"updatedTime":1495700325000,"deleted":false,"audioId":1,"createdTime":1495700322000,"id":2,"url":"2"}]
     * deleted : false
     * roleId : 3
     * roleName : 创作人
     * createdTime : 1495700286000
     * id : 1
     * userId : 1
     * content : 1
     */

    private long updatedTime;
    private boolean deleted;
    private int roleId=5;
    private String roleName;
    private long createdTime;
    private int id;
    private int userId;
    private String content;
    private List<UrlsBean> urls;
    private String StrUrls;


    public String getStrUrls() {
        return StrUrls;
    }

    public void setStrUrls(String strUrls) {
        StrUrls = strUrls;
    }

    public long getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(long updatedTime) {
        this.updatedTime = updatedTime;
    }

    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }

    public int getRoleId() {
        return roleId;
    }

    public void setRoleId(int roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public long getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(long createdTime) {
        this.createdTime = createdTime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public List<UrlsBean> getUrls() {
        return urls;
    }

    public void setUrls(List<UrlsBean> urls) {
        this.urls = urls;
    }

    public static class UrlsBean {
        /**
         * updatedTime : 1495700308000
         * deleted : false
         * audioId : 1
         * createdTime : 1495700305000
         * id : 1
         * url : 1
         */

        private long updatedTime;
        private boolean deleted;
        private int audioId;
        private long createdTime;
        private int id;
        private String url;  //作品链接
        boolean isLast=false;
        boolean isFrist=false;


        public boolean isFrist() {
            return isFrist;
        }

        public void setFrist(boolean frist) {
            isFrist = frist;
        }

        public boolean isLast() {
            return isLast;
        }

        public void setLast(boolean last) {
            isLast = last;
        }

        public long getUpdatedTime() {
            return updatedTime;
        }

        public void setUpdatedTime(long updatedTime) {
            this.updatedTime = updatedTime;
        }

        public boolean isDeleted() {
            return deleted;
        }

        public void setDeleted(boolean deleted) {
            this.deleted = deleted;
        }

        public int getAudioId() {
            return audioId;
        }

        public void setAudioId(int audioId) {
            this.audioId = audioId;
        }

        public long getCreatedTime() {
            return createdTime;
        }

        public void setCreatedTime(long createdTime) {
            this.createdTime = createdTime;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }
    }
}
